Skip to main content

SendToWindow

Sends a message to the plugin modal window.

Syntax

expression.SendToWindow(windowID, name, data);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
windowIDRequiredstringThe frame ID.
nameRequiredstringThe event name.
dataRequiredobjectThe event data.

Returns

This method doesn't return any data.

Example

window.Asc.plugin.executeMethod ("SendToWindow", ["iframe_asc.{BE5CBF95-C0AD-4842-B157-AC40FEDD9841}", "onWindowMessage", {config: oConfig}]);